package com.it.pojo.vo.comment;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVO {

    private Integer commentId;

    private Integer userId;

    private String nickname;

    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    private Integer parentCommentId;

    private Integer parentUserId;

    private List<CommentVO> children;

    private Integer level;

    private Integer replyCommentId;  // 被回复的评论id

    private String avatar;

    private Integer replyCommentUserId; // 被回复的


}
